name := "very-util-ignite"

organization := "ws"

version := "0.0.0"

scalaVersion := "2.11.11"


{
  val igniteVersion = "2.3.0"

  libraryDependencies += "org.apache.ignite" % "ignite-core" % igniteVersion


  // https://mvnrepository.com/artifact/org.apache.ignite/ignite-indexing
  libraryDependencies += "org.apache.ignite" % "ignite-indexing" % igniteVersion


  libraryDependencies += ("org.apache.ignite" % "ignite-spark" % igniteVersion ).excludeAll(
    ExclusionRule(organization = "org.scalatest"),
    ExclusionRule(organization = "com.twitter"),
    ExclusionRule(organization = "org.apache.spark")
  )

/*  libraryDependencies += ("org.apache.ignite" % "ignite-flink" % igniteVersion ).excludeAll(
    ExclusionRule(organization = "com.twitter"),
    ExclusionRule(organization = "org.apache.flink"),
    ExclusionRule(organization = "org.scala-lang")
  )*/
}



lazy val lang = RootProject(file("../very-util-lang"))

lazy val ignite = project.in(file(".")).dependsOn(lang)